import BaseEntity from "../entity/BaseEntity";
import SqlStatement from "../sql/SqlStatement";

export default interface BaseMapper<T extends BaseEntity> {
    insert(statement: SqlStatement);
    updateById(statement: SqlStatement);
    deleteById(statement: SqlStatement);
    page(statement: SqlStatement);
}
